<?php
	session_start();
	if(! isset($_SESSION[idpersona])){
		$_SESSION[idpersona]='';
		$_SESSION[error]='';
		$_SESSION[idventa]='';
	}
?>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charse=utf-8">
	<title>Control de Ganado</title>
	<link href="./imagenes/link.png" type="image/png" rel="icon"></link>
	<style type="text/css" media="screen"><!-- @import url("./css/style.css"); --></style>
	<style type="text/css" media="print"><!--@import url("./css/print.css");--></style>
	<link rel="stylesheet" href="./css/demo.css">
	<link rel="stylesheet" href="./css/bjqs.css">
	<script type="text/javascript" src="./js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" src="./js/jquery.js"></script>
	<script type="text/javascript" src="./js/bjqs-1.3.min.js"></script>
</head>
<body>
	<script language="javascript">
		function multiplica(form){
		var resultado;
		var x=0;
		var y=0;
		
		x = parseFloat (form.peso.value);
		y = parseFloat (form.precio.value);

		resultado = x * y;
		
		form.monto.value=resultado;
		}
	</script>
	<div class="contenedor">
		<header class="encabezado sombra">
			<div id="ganado"></div>
			<img src="./imagenes/titulo.png"/>
		</header>
		<?php include_once('./mvc/controlador/controlador.php'); new Controlador();?>
		<div class="footpage sombra">
			<footer>Derechos Reservados &copy; Control de Ganado Jersey</footer>
		</div>
	</div>
</body>
</html>